import BaseObj from "./BaseObj"

export default class Box extends BaseObj{

    public width = 20
    public height = 20
    public color = "black"

    draw(ctx: CanvasRenderingContext2D) {
        ctx.strokeStyle = this.color
        ctx.rect(this.x,this.y,this.width,this.height)
        ctx.stroke()
    }
}